package com.lnking.lnkingplace.service;

import com.lnking.lnkingplace.model.dto.placeType.PlaceTypeTreeDto;
import com.lnking.lnkingplace.model.entity.PlaceType;
import com.lnking.lnkingplace.model.request.placeType.PlaceTypeAddRequest;
import com.lnking.lnkingplace.model.request.placeType.PlaceTypeUpdateRequest;
import com.lnking.starter.mybatis.service.ICustomService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhangqt
 * @since 2022-09-14
 */
public interface IPlaceTypeService extends ICustomService<PlaceType> {

    List<PlaceTypeTreeDto> getTree();

    void add(PlaceTypeAddRequest params);

    void update(PlaceTypeUpdateRequest params);

    void delete(String id);
}
